﻿
using System;
using TestMonkey.Models;

namespace TestMonkey.Templates
{
    public class Helper : TemplateProcessor
    {

        protected override bool ShouldRun(ModelRoot model)
        {
            if (model == null)
                throw new ArgumentNullException("model", "model is null.");

            return !model.Type.IsEnum && model.Type.HasConstructors();
        }
    }
}

